﻿using System.Collections.Generic;

namespace User.Api.Helpers.WeixinPayV3.WxResult
{
    public class ParseFeedBackResult
    {
        /// <summary>
        /// 成功时为 0，其它为失败
        /// </summary>
        public string ResultCode { get; set; }

        /// <summary>
        /// 失败时为错误信息
        /// </summary>
        public string ResultMsg { get; set; }

        /// <summary>
        /// 微信OpenId
        /// </summary>
        public string OpenId { get; set; }

        /// <summary>
        /// 微信AppId
        /// </summary>
        public string AppId { get; set; }

        /// <summary>
        /// 时间戳
        /// </summary>
        public string TimeStamp { get; set; }

        /// <summary>
        /// 通知类型（包含三种）
        /// request  用户提交投诉 
        /// confirm 用户确认消除投诉 
        /// reject 用户拒绝消除投诉
        /// </summary>
        public string MsgType { get; set; }

        /// <summary>
        /// 投诉单号
        /// </summary>
        public string FeedBackId { get; set; }

        /// <summary>
        /// 交易订单号
        /// </summary>
        public string TransId { get; set; }

        /// <summary>
        /// 用户投诉原因
        /// </summary>
        public string Reason { get; set; }

        /// <summary>
        /// 用户希望解决方案
        /// </summary>
        public string Solution { get; set; }

        /// <summary>
        /// 备注信息+电话
        /// </summary>
        public string ExtInfo { get; set; }

        /// <summary>
        /// 签名
        /// </summary>
        public string AppSignature { get; set; }

        /// <summary>
        /// 签名方法
        /// </summary>
        public string SignMethod { get; set; }

        /// <summary>
        /// 用户上传的图片凭证，最多五张
        /// </summary>
        public List<PicItem> PicItems { get; set; } 

        public class PicItem
        {
            public string Url { get; set; }
        }
    }
}